class BookFeatures {
  BookFeatures({
    this.bgMusic,
    this.dictionary,
    this.pinyin,
    this.simplified,
    this.traditional,
    this.voice,
  });

  bool? bgMusic;
  bool? dictionary;
  bool? pinyin;
  bool? simplified;
  bool? traditional;
  bool? voice;

  factory BookFeatures.fromJson(Map<String, dynamic> json) => BookFeatures(
        bgMusic: json["bgMusic"],
        dictionary: json["dictionary"],
        pinyin: json["pinyin"],
        simplified: json["simplified"],
        traditional: json["traditional"],
        voice: json["voice"],
      );

  Map<String, dynamic> toJson() => {
        "bgMusic": bgMusic,
        "dictionary": dictionary,
        "pinyin": pinyin,
        "simplified": simplified,
        "traditional": traditional,
        "voice": voice,
      };
}
